package top.myhdg.bijou.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import top.myhdg.bijou.R;

public class AboutActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        Button update = findViewById(R.id.update);
        update.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                setResult(1);
                AboutActivity.this.finish();
            }
        });

        Button exitAbout = findViewById(R.id.exitAbout);
        exitAbout.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                AboutActivity.this.finish();
            }
        });
    }
}
